home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15384 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: dn106.seacoast.com!user
  2. From: gpardi@seacoast.com (George Pardi)
  3. Newsgroups: comp.lang.c
  4. Subject: Help: wwwwais won't compile for me!
  5. Date: 18 Apr 1996 02:41:38 GMT
  6. Organization: NetWorx, Newburyport, MA 01950  USA
  7. Message-ID: <gpardi-1704962343550001@dn106.seacoast.com>
  8. NNTP-Posting-Host: dn106.seacoast.com
  9.  
  10. Hello, all.
  11.  
  12. OK, I have a confession to make:  I know absolutely nothing about C
  13. programming.  I don't want to become a programmer, either, although hats
  14. off to you folks for the determination you must need to master this
  15. language.  Basically, I'm a Web designer trying to implement SWISH and
  16. WWWWAIS on my site.  I've installed SWISH without difficulty.  My problem
  17. is trying to compile WWWWAIS on my server, which has a CERN 3.0, Sun OS
  18. 4.1.4 setup.
  19.  
  20. Using the gcc compiler, I tried a number of syntaxes, all to no avail.  In
  21. each case I got an error message (see below).  I searched the Web for
  22. documentation on gcc and tried a couple of switches, but the results were
  23. the same each time.  In a couple of case I ended up with an "a.out" file. 
  24. I deleted those and started over, this time trying the switched below. 
  25. Anyone have any ideas?
  26.  
  27. This file is supposed to be an ansi c source.
  28. File name is wwwwais.25.c and was obtained from
  29. http://www.eit.com/software/wwwwais/wwwwais.html
  30.  
  31. Any help appreciated!
  32.  
  33. George
  34.  
  35. error messages follow...
  36.  
  37. northshore% gcc wwwwais.25.c -o wwwwais
  38. wwwwais.25.c: In function `parsetitle':
  39. wwwwais.25.c:1377: warning: function returns address of local variable
  40. wwwwais.25.c:1394: warning: function returns address of local variable
  41. wwwwais.25.c:1408: warning: function returns address of local variable
  42. wwwwais.25.c:1412: warning: function returns address of local variable
  43.  
  44. northshore% gcc wwwwais.25.c -ansi -o wwwwais
  45. wwwwais.25.c: In function `parsetitle':
  46. wwwwais.25.c:1377: warning: function returns address of local variable
  47. wwwwais.25.c:1394: warning: function returns address of local variable
  48. wwwwais.25.c:1408: warning: function returns address of local variable
  49. wwwwais.25.c:1412: warning: function returns address of local variable
  50. ls
  51.  
  52. -- 
  53. I'm still thinking of a witty saying to place here...
  54.  
  55. gpardi@seacoast.com
  56.